from datetime import timedelta

JWT_SECRET_KEY = 'tdd'
JWT_ACCESS_TOKEN_EXPIRES = timedelta(minutes=20)
JWT_REFRESH_TOKEN_EXPIRES = timedelta(weeks=2)
ALIYUN_OSS_ENDPOINT='https://oss-cn-hangzhou.aliyuncs.com'
ALIYUN_OSS_BUCKET='taodeduo'
ALIYUN_OSS_REGION='cn-hangzhou'
ALIYUN_OSS_DOMAIN='https://taodeduo.oss-cn-hangzhou.aliyuncs.com/'


CONSUL_HOST = '127.0.0.1'
CONSUL_HTTP_PORT = 8500
CONSUL_DNS_PORT = 8600
CONSUL_PORT = 8000

SERVER_PORT = 8000